html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background: url('../images/login_bg.jpg') no-repeat center;
  background-size: cover;
}

.form-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 310px;
  background-color: #fff;
}

.title-box {
  height: 60px;
  background: url('../images/login_title.png') no-repeat center;
}

/* 隐藏注册区域 */
.reg-box {
  display: none;
}

.layui-form {
  padding: 0 30px;
}

.layui-form-item {
  position: relative;
}

.layui-form-item i {
  position: absolute;
  top: 10px;
  left: 10px;
}

.layui-form-item .layui-input {
  padding-left: 30px;
}

.layui-form-link {
  text-align: right;
}
